# Contributor: Philipp Glaum <p@pglaum.de>
# Maintainer: Philipp Glaum <p@pglaum.de>
pkgname=mnamer
_pkgname=mnamer
pkgver=2.5.3
pkgrel=1
pkgdesc="media file organiser"
options="!check" # No testsuite
url="https://pypi.org/project/mnamer/"
arch="noarch"
license="MIT"
depends="python3 py3-appdirs py3-guessit py3-requests py3-requests-cache py3-teletype"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
6849788b80198a87964d6cf346e8c08f3d6616b47208bf4e6e98f6cca69ab72257d028506ef9407e6f54c641d0f372772dbf1a9267d553c3529521e350cdebb6  mnamer-2.5.3.tar.gz
"
